package cool.mtc.minghe.service.service.sys.role;

import cool.mtc.core.page.PageData;
import cool.mtc.minghe.data.model.base.Dict;
import cool.mtc.minghe.data.model.sys.role.dto.RoleDTO;
import cool.mtc.minghe.data.model.sys.role.dto.RoleListDTO;
import cool.mtc.minghe.data.model.sys.role.form.RoleForm;
import cool.mtc.minghe.data.model.sys.role.query.RoleQuery;

import java.util.List;

/**
 * @author 明河
 */
public interface RoleService extends cool.mtc.minghe.service.service.BaseService {

    long insert(RoleForm form);

    void update(RoleForm form);

    void delete(Long id);

    PageData<RoleListDTO> pageList(RoleQuery query);

    RoleDTO info(Long id);

    List<Dict> listDict();
}
